package com.glsc.ngateway.common.api.platform.dto.system;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.Transient;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public class GwContactDto {
    private Integer pageNo;
    private Integer pageSize;

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "联系人类型")
    private String contactType;

    @ApiModelProperty(value = "联系人姓名")
    private String contactPerson;

    @ApiModelProperty(value = "联系电话")
    private String contactPhone;

    @ApiModelProperty(value = "联系人手机")
    private String contactMobile;

    @ApiModelProperty(value = "联系人邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "删除状态")
    private Integer deleted;

    @ApiModelProperty(value = "所属供应商id")
    @Transient
    private Integer vendorId;

    @ApiModelProperty(value = "所属供应姓名")
    @Transient
    private String vendorName;
}
